package com.woniuxy.food.client.foodpropvalueclient;

import com.woniuxy.food.client.param.InsertFoodPropValueParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

@FeignClient(contextId = "foodPropValueManageClient",name = "food")
public interface FoodPropValueManageClient {
    @PostMapping("/insertFoodPropValue")
    public Result insertFoodPropValue(@RequestBody InsertFoodPropValueParam param);

    @DeleteMapping("/deleteFoodPropValue")
    public Result deleteFoodPropValue(@RequestParam("storeId")Integer storeId,@RequestParam("foodPropValueId") Integer foodPropValueId);
}
